package webEquipeRechercheGwt.client.structure;

import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.VerticalPanel;

public class DataShowingPanel extends VerticalPanel {


	private Panel current;
	
	@Override
	protected void onLoad() {
		super.onLoad();
		add(current);
	}

	
	public void setCurrentPanel(Panel current){
		clear();
		this.current = current;
		add(this.current);
	}
	
}
